net/mlx5e: Use the correct pause values for ethtool advertising
authorGal Pressman <galp@mellanox.com>
Mon, 3 Apr 2017 12:11:22 +0000 (15:11 +0300)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:51:58 +0000 (02:51 +0000)
commit4bc97a3ff3bbad43ced3acbae3110a452355535f
treeada094a2952541dc91813b0b5ba31317828ebbab
parent3fc300a4fc7d67aa4aea4b20d8b12e8c47ef3125
net/mlx5e: Use the correct pause values for ethtool advertising

[ Upstream commit b383b544f2666d67446b951a9a97af239dafed5d ]

Query the operational pause from firmware (PFCC register) instead of
always passing zeros.

Fixes: 665bc53969d7 ("net/mlx5e: Use new ethtool get/set link ksettings API")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Cc: kernel-team@fb.com
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c